import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
Vue.config.productionTip = false
// 省略index.js
import router from './router'

// 应用vue路由插件
Vue.use(VueRouter)

new Vue({
  render: f => f(App),
  beforeCreate(){
  },
  router:router,
})
.$mount('#app')


